<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Find User Success</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }
        .container {
            background-color: #fff;
            padding: 40px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            width: 300px;
            text-align: center;
        }
        h1 {
            margin-bottom: 20px;
            color: #333;
        }
        p {
            margin-bottom: 10px;
            color: #555;
        }
        .btn {
            display: inline-block;
            padding: 10px 20px;
            margin-top: 20px;
            text-decoration: none;
            color: #fff;
            background-color: #007bff;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .btn:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>
<div class="container">
    <h1>用户信息</h1>
    <p>ID: <span th:text="${userInfo.id}"></span></p>
    <p>登录名: <span th:text="${userInfo.loginname}"></span></p>
    <p>用户名: <span th:text="${userInfo.username}"></span></p>
    <p>邮箱: <span th:text="${userInfo.email}"></span></p>
    <p>性别: <span th:text="${userInfo.gender}"></span></p>
    <br>
    <a th:href="@{/user/mainpage}" class="btn">点击回到主界面</a>
</div>
</body>
</html>